package com.ww.sound_emission.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.util.Date;

@Data  // Lombok 自动生成 getter、setter、toString、equals、hashCode 方法
@NoArgsConstructor  // Lombok 自动生成无参构造函数
@AllArgsConstructor // Lombok 自动生成全参构造函数
public class MacData {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer t;

    private String mainProg;

    private String subProg;

    private Double x;
    private Double y;
    private Double z;
    private Double durtime;

    private Integer breakStatus;

    private Integer io;

    private Integer isShowSpl;

    private Double s;
    private Double s1;
    private Double s2;
    private Double s3;

    private Double spl;

    private Integer status;

    private Date createTime;

    private String productSequence;

    private String machineCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getT() {
        return t;
    }

    public void setT(Integer t) {
        this.t = t;
    }

    public String getMainProg() {
        return mainProg;
    }

    public void setMainProg(String mainProg) {
        this.mainProg = mainProg;
    }

    public String getSubProg() {
        return subProg;
    }

    public void setSubProg(String subProg) {
        this.subProg = subProg;
    }

    public Double getX() {
        return x;
    }

    public void setX(Double x) {
        this.x = x;
    }

    public Double getY() {
        return y;
    }

    public void setY(Double y) {
        this.y = y;
    }

    public Double getZ() {
        return z;
    }

    public void setZ(Double z) {
        this.z = z;
    }

    public Double getDurtime() {
        return durtime;
    }

    public void setDurtime(Double durtime) {
        this.durtime = durtime;
    }

    public Integer getBreakStatus() {
        return breakStatus;
    }

    public void setBreakStatus(Integer breakStatus) {
        this.breakStatus = breakStatus;
    }

    public Integer getIo() {
        return io;
    }

    public void setIo(Integer io) {
        this.io = io;
    }

    public Integer getIsShowSpl() {
        return isShowSpl;
    }

    public void setIsShowSpl(Integer isShowSpl) {
        this.isShowSpl = isShowSpl;
    }

    public Double getS() {
        return s;
    }

    public void setS(Double s) {
        this.s = s;
    }

    public Double getS1() {
        return s1;
    }

    public void setS1(Double s1) {
        this.s1 = s1;
    }

    public Double getS2() {
        return s2;
    }

    public void setS2(Double s2) {
        this.s2 = s2;
    }

    public Double getS3() {
        return s3;
    }

    public void setS3(Double s3) {
        this.s3 = s3;
    }

    public Double getSpl() {
        return spl;
    }

    public void setSpl(Double spl) {
        this.spl = spl;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getProductSequence() {
        return productSequence;
    }

    public void setProductSequence(String productSequence) {
        this.productSequence = productSequence;
    }

    public String getMachineCode() {
        return machineCode;
    }

    public void setMachineCode(String machineCode) {
        this.machineCode = machineCode;
    }
}
